Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODFrame


Invalidate

The Invalidate method marks the specified area in this frame as in need of updating.

void Invalidate (in ODShape invalidShape, 
                 in ODCanvas biasCanvas);
invalidShape
A reference to the shape object defining the area in this frame that needs updating, expressed in frame coordinates.
biasCanvas
kODNULL if the geometry is in platform-normal coordinates, otherwise a reference to the canvas object to whose coordinate space the geometry is biased.
DISCUSSION
Your part calls this method to explicitly invalidate a portion of its display frame. This method in turn calls the Invalidate method associated with each of this frame's facets. The resulting invalid shape is transformed and clipped to the coordinate space of each facet's canvas.

SEE ALSO
The ODCanvas::Invalidate method (page 75).
The ODFacet::Invalidate method (page 250).
The ODFrame::Validate method (page 341).
Listing 2-14 on page 61 in OpenDoc Cookbook.
Listing 2-19 on page 71 in OpenDoc Cookbook.
"Invalidating and Validating Your Content" on page 160 in OpenDoc Programmer's Guide.
"Drawing to an Offscreen Canvas" on page 168 in OpenDoc Programmer's Guide.
"Invalidating and Updating" on page 214 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help